package com.xuexisheqv.auth.application.convert;

import com.xuexisheqv.auth.application.dto.AuthRoleDTO;
import com.xuexisheqv.auth.domain.entity.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户 DTO 转换器
 */

@Mapper
public interface AuthRoleDTOConverter {
    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDtoToBo(AuthRoleDTO authRoleDTO);

}
